/*
 
 */
package com.ohos.connent.accountcloud;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import com.ohos.connent.accountcloud.common.util.CommonAvatarUtil;
import com.ohos.connent.accountcloud.common.util.CommonCryptogramUtil;
import com.ohos.connent.accountcloud.dev.modular.sms.util.DevSmsHuaWeiYunUtil;

import java.util.Base64;

/**
 * TestMain方法
 *
 *
 */
public class Test {
    public static void main(String[] args) {
//      String password = "eadb2b519efb10ad74ac041d0d81dcecf30292d11118dba5c64e4deec7d3450c8d34e3a303ca0908dac6ed7221f2156a89d3005605af00c419fe32c47bde6d0edc86db336f1e37d92cbd55f56b733d5c56bd7ba2c2229c33cbc82eb9014863b222b7b4d2f94ac55a";
//      String org =   CommonCryptogramUtil.doSm2Decrypt(password);
//      System.out.println(org);
//      System.out.println(CommonCryptogramUtil.doHashValue(CommonCryptogramUtil.doSm2Decrypt(password)));
//
//      System.out.println(CommonAvatarUtil.generateImg("潘潘潘"));
//        String phones = "18682178808"; // 多个手机则 逗号分割
//        String[] templateParams = {"66888577"};
//        DevSmsHuaWeiYunUtil.sendSms(phones ,"华为云短信测试","4fd36d9eb91f4501970a345f3dea7016",templateParams);
       System.out.println( new String(Base64.getDecoder().decode("5Lit5paH")));

    }
}
